package com.zzxz.practicaltrainingsys.service;

import com.zzxz.practicaltrainingsys.vo.ViewMember;
import com.zzxz.practicaltrainingsys.entity.Member;
import com.zzxz.practicaltrainingsys.entity.Student;
import com.zzxz.practicaltrainingsys.vo.ProjectTeamInfo;
import java.util.List;

public interface MemberService {

    int insertMember(Member member);

    List<String> getStudentIdsByGroupId(Integer group_id);

    List<Student> getStudents(Integer group_id);

    int updateStudentScore(Member member);

    Integer getScoreById(String student_id);
    int checkMemberExist(Integer team_id, Integer student_id);

    List<Member> findByStudentId(Integer student_id);

    List<Member> listByTeamId(Integer team_id);

    // MemberService.java
    boolean checkStudentInProjectTeam(Integer student_id, Integer project_id);

    List<ViewMember> listMemberInfoByTeamId(Integer team_id);

    ProjectTeamInfo getProjectTeamInfo(Integer student_id, Integer project_id);

}
